package io.renren.modules.wyzs.service;

import io.renren.modules.wyzs.entity.FactoryInfo;

import java.util.List;
import java.util.Map;

public interface FactoryService {
    public List<FactoryInfo> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    FactoryInfo queryInfo(String id);

    void update(FactoryInfo factoryInfo);

    void save(FactoryInfo factoryInfo);

    void delete(String id);

    List<FactoryInfo> getFactoryList(Map<String, Object> map);

    List<FactoryInfo> getFactoryListX(Map<String, Object> map);


    FactoryInfo getFactoryById(String factoryId);

    public String getUrlById(String id);
}
